
<div class="pageContent">
	<form method="post" action="<?echo __WWWROOT__.'Admin/Manager/add.php'?>" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>账号：</label>
				<input name="username" class="required" type="text" size="30" value="" alt=""/>
			</p>
			<p>
				<label>密码：</label>
				<input name="password" class="required alphanumeric" type="password" size="30" value="" alt=""/>
			</p>
			<p>
				<label>角色：</label>
				<select name="role_id" class="required">
					<option value="">--角色--</option>
						<?foreach($roles as $key=>$r){?>
							<option value="<?echo $key?>" ><?echo $r?></option>}
						<?}?>
				</select>
			</p>
			<p>
				<label>状态：</label>
				<select name="state">
						<?foreach($status as $key=>$s){?>
							<option value="<?echo $key?>" ><?echo $s?></option>}
						<?}?>
				</select>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">添加</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
